<script type="text/javascript">
  function backPreviousPage()
  {
    window.history.back();
  }
</script>
<?php echo isset($notify) ? '<div class="alert alert-success">'.$notify.'</div>' : "" ?>
<form class="form-horizontal" role="form" method="post" action="<?=site_url('user/changeAdminPass') ?>">  
  <div class="form-group">
    <label for="inputEmail3" class="col-sm-2 control-label">Mật khẩu admin</label>
    <div class="col-sm-3">
      <input id="codeInput" type="password" name="password" class="form-control" placeholder="Mật khẩu" value="<?php echo set_value('password'); ?>" required autofocus>
      <span><?php echo form_error('password'); ?></span>
    </div>
  </div>       
  <div class="form-group">
    <div class="col-sm-offset-2 col-sm-10">
      <button type="submit" name="changePassBtn" value="changePassBtnValue" class="btn btn-primary">Hoàn tất</button>
      <button type="button" name="backPrevBtn" value="goPrevious" class="btn btn-success" onclick="backPreviousPage()">Quay về trang trước</button>      
    </div>
  </div>    
</form>

